HelpersLibrary\Scan_Process D

Total Complexity 206
Dependencies 7
Dependents 0
Total lines 1,941
Lines of code 937
Logical lines of code 585
Comment lines 529
Methods 45
Properties 11

Methods 45

Method Rating Maintainability Complexity Lines of code
process()
C
32 26 97
try_to_start()
C
33 22 98
start()
B
33 16 102
handle()
A
45 15 42
queue()
A
45 13 40
get_group()
A
47 8 35
push_to_queue()
A
49 8 31
update()
A
51 8 26
complete()
S
43 5 51
get_queue_files()
S
57 6 16
update_progress()
S
53 5 23
get_queue_count()
S
53 5 23
display_progress_bar()
S
46 4 36
get_memory_limit()
S
56 5 17
start_admin_session()
S
56 4 17
get_queue_file()
S
61 4 13
delete()
S
62 4 12
maybe_handle()
S
58 3 16
memory_exceeded()
S
57 3 16
can_we_start()
S
61 3 12
delete_all_scan_batches()
S
55 2 20
cancel()
S
54 2 18
time_exceeded()
S
63 3 10
set_hooks()
S
52 1 30
get_post_args()
S
60 2 13
schedule_cron_healthcheck()
S
62 2 11
schedule_event()
S
73 2 5
get_query_url()
S
68 2 7
get_query_args()
S
64 2 10
handle_cron_healthcheck()
S
66 2 10
is_process_running()
S
71 2 6
lock_process()
S
68 2 6
cancel_process()
S
72 2 6
clear_scheduled_event()
S
71 2 6
__construct()
S
62 1 11
dispatch()
S
70 1 6
get_queue_file_path()
S
77 1 3
init()
S
65 1 9
unlock_process()
S
76 1 4
is_queue_empty()
S
80 1 3
get_prepend_flag()
S
82 1 3
get_cron_interval()
S
70 1 6
generate_key()
S
71 1 5
get_identifier()
S
82 1 3
get_time_limit()
S
78 1 3